<template>
    <div class="rightBar">
        <div class="rightBar-item">
            <div class="avatar-border">
                <img src="../../assets/python.jpg" alt="">
                <span class="iconfont icon-jia"></span>
            </div>
        </div>
        <div class="rightBar-item">
            <span class="iconfont icon-aixin"></span>
            <p>22.1w</p>
        </div>
        <div class="rightBar-item">
            <span class="iconfont icon-pinglun"></span>
            <p>22.1w</p>
        </div>
        <div class="rightBar-item">
            <span class="iconfont icon-fenxiang"></span>
            <p>22.1w</p>
        </div>
        <div class="rightBar-item">
            <div class="music-cover">
                <img src="../../assets/python.jpg" alt="">
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name:"RightBar",
    data(){

    }
}
</script>

<style lang="less" scoped>
    .rightBar{

        width: 60px;
        height: 400px;

        .rightBar-item{
            margin-bottom: 20px;
            width: 100%;
            height: 60px;
            text-align: center;
            

        }
    }
    .avatar-border{
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #fff;
        position: relative;
        img{
            border-radius: 50%;
            width: 50px;
            height: 50px;
            overflow: hidden;
        }
        span{
            font-size: 18px;
            background-color: #fff;
            border-radius:50% ;
            color: red;
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translate(-50%,0);
        }

    }

    .rightBar-item>span{
        font-size: 40px;
        color: #fff;

    }
    .rightBar-item p{
        margin: 0;
        padding: 0;
        font-size: 15px;
        color: #fff;

    }
    .music-cover{
        width: 45px;
        height: 45px;
        border-radius: 50%;
        
      
        img{
            border: 10px solid #000;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            overflow: hidden;
            animation: scroll 3s linear infinite;
        }
    }
    @keyframes scroll{
        0%{
            transform: rotate(0deg);
        }
        100%{
            transform: rotate(360deg);
        }
    }
</style>